package com.panda.topic.service;

import java.util.List;

import com.panda.topic.entity.StudentTopic;
import com.panda.topic.entity.Topic;
import com.panda.topic.entity.TopicAcceVo;
import com.panda.utils.Pager;

public interface TopicService {

	Pager<Topic> findListLimit(Long offSet, Long pageSize, Long uid, String name );

	Topic findById(Long id);

	Long saveOrUpdate(Topic topic);

	void delete(Long id);

	void addAcce(Long tid, Long fid);

	List<TopicAcceVo> findAcce(Long tid);

	void delAcce(Long taid);

	List<Topic> findAllTopic();

	Pager<StudentTopic> findStudentTopic(Long offSet, Long pageSize, Long uid, String name);

}
